package com.guigu.www.controller;


import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;

import com.guigu.www.pojo.TInterposeFood;
import com.guigu.www.pojo.TInterposeSprot;
import com.guigu.www.service.TInterposeSprotService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import org.springframework.stereotype.Controller;

import java.util.List;

/**
 * <p>
 * 运动干预方案表 前端控制器
 * </p>
 *
 * @author yb
 * @since 2021-06-29
 */

@RestController
@CrossOrigin
public class TInterposeSprotController {


    @Autowired
    private TInterposeSprotService tInterposeSprotService;
    @PostMapping("yydd")
    public List<TInterposeSprot> ydgy(@RequestBody TInterposeSprot tInterposeSprot){
        List<TInterposeSprot> showid = tInterposeSprotService.showid(tInterposeSprot.getTMemberId());
        return showid;
    }
}

